<?php
class PictureViewModel extends ViewModel
{
	public $viewFields = array(
	 'Picture' => array('pid','code','url','point','size','area','title','uploadtime','uid','status','is_hot','downscore','cateid','is_dele','_type'=>'LEFT'),
     'User' => array('username','nickname','_on'=>'Picture.uid = User.uid')
    );
}
?>